style.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .alert-page {
  2. width: 100vw;
  3. height: 100vh;
  4. display: flex;
  5. align-items: center;
  6. justify-content: center;
  7. background: #1a1a2e;
  8. }
  9. .donation-alert {
  10. display: flex;
  11. flex-direction: column;
  12. align-items: center;
  13. justify-content: center;
  14. text-align: center;
  15. width: 100%;
  16. height: 100%;
  17. &.alert-show {
  18. opacity: 1;
  19. transform: translateY(0);
  20. }
  21. &__image {
  22. margin-bottom: 16px;
  23. img {
  24. max-width: 200px;
  25. max-height: 200px;
  26. object-fit: contain;
  27. filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  28. }
  29. }
  30. &__content {
  31. display: flex;
  32. flex-direction: column;
  33. gap: 8px;
  34. }
  35. &__sender {
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. gap: 8px;
  40. font-weight: 700;
  41. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  42. }
  43. &__name {
  44. font-family: var(--nickname-font-family, inherit);
  45. font-size: var(--nickname-font-size, 24px);
  46. color: var(--nickname-font-color, #FFD700);
  47. }
  48. &__amount {
  49. font-family: var(--amount-font-family, inherit);
  50. font-size: var(--amount-font-size, 24px);
  51. color: var(--amount-font-color, #FF6B35);
  52. }
  53. &__template-text {
  54. font-family: var(--template-font-family, inherit);
  55. font-size: var(--template-font-size, 24px);
  56. color: var(--template-font-color, #FFFFFF);
  57. }
  58. &__message {
  59. font-family: var(--message-font-family, inherit);
  60. font-size: var(--message-font-size, 18px);
  61. font-weight: 500;
  62. color: var(--message-font-color, #FFFFFF);
  63. text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  64. max-width: 400px;
  65. word-break: keep-all;
  66. line-height: 1.4;
  67. }
  68. &__crew {
  69. font-size: 14px;
  70. color: #A0D2FF;
  71. margin-top: 4px;
  72. }
  73. }
  74. @keyframes alertFadeOut {
  75. from {
  76. opacity: 1;
  77. transform: scale(1);
  78. }
  79. to {
  80. opacity: 0;
  81. transform: scale(0.8);
  82. }
  83. }